<!--{include html_header}-->

<div id="hdw">
	<div id="hd">
		<div id="logo">
		  <p><a href="/index.php" class="link"><img src="/static/css/i/logo.gif" /></a><br />
	      </p>
	  </div>
		<div class="guides">
		  <div class="city">
			<h2>{$city['name']}</h2>
		  </div>
			<!--{if count($INI['hotcity'])>1||!in_array($city['ename'], array_keys($INI['hotcity']))}-->
			<div id="guides-city-change" class="change">Mudar Cidade</div>
			<div id="guides-city-list" class="city-list">
				<ul>${current_city($city['ename'], $INI['hotcity'])}</ul>
		      <p>&nbsp;</p>
	    </div>
			<!--{/if}-->
			
	  </div>
	  
	
	  
		<ul class="nav cf">
		  <p>${current_frontend()}</p>
      </ul>
		<div class="refer">
		&raquo; <a href="/account/invite.php">Convidar um Amigo</a>&nbsp;&nbsp;&nbsp;
		&raquo; <a id="verify-coupon-id" href="javascript:;">Verificar Cupom</a>
		&nbsp;&nbsp;&nbsp;
		&raquo; <!--{if is_manager()}--><a href="/manage/index.php"><strong style="color:#FFEA00">Gerenciar</strong></a> <!--{/if}-->
		
		
		
		
  </div>
		<!--{if $login_user}-->
		<div class="logins">
			<ul id="account">
				<li class="username">Olá, {$login_user['username']}!</li>
				<li class="account"><a href="/order/index.php" id="myaccount" class="account">Minha Conta</a></li>
				<li class="logout"><a href="/account/logout.php">Sair</a></li>
			</ul>
			<div class="line islogin"></div>
		</div>
		<ul id="myaccount-menu">
			<li><a href="/order/index.php">Minhas Ofertas</a></li>
			<li><a href="/coupon/index.php">Meus {$INI['system']['couponname']}</a></li>
			<li><a href="/account/settings.php">Configurações</a></li>
		</ul>
		<!--{else}-->
		<div class="logins">
			<ul id="account">
				<li class="login"><a href="/account/login.php">Login</a></li>
				<li class="signup"><a href="/account/signup.php">Cadastre-se</a></li>				
			</ul>
			<div class="line "></div>
	  </div>
		<!--{/if}-->
	</div>
</div>

<!--{if $session_notice=Session::Get('notice',true)}-->
<div class="sysmsgw" id="sysmsg-success"><div class="sysmsg"><p>{$session_notice}</p><span class="close">Fechar</span></div></div> 
<!--{/if}-->
<!--{if $session_notice=Session::Get('error',true)}-->
<div class="sysmsgw" id="sysmsg-error"><div class="sysmsg"><p>{$session_notice}</p><span class="close">Fechar</span></div></div> 
<!--{/if}-->
